package com.pojo.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.pojo.entity.SystemTemplateEntity;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author hewei
 * @since 2020-08-28
 */
@Data
public class SystemTemplateDto extends SystemTemplateEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 存储下级数据
     */
    private List<SystemTemplateDto> children;


    /**
     * 是否选择
     */
    private boolean checked;

    /**
     * 是否选择
     */
    private boolean disabled = false;

}
